<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title></title>
		<style>
			* {
				margin: 0;
				padding: 0;
			}

			body {
				text-align: center;
			}

			.box {
				width: 600px;
				height: 600px;
				border: 1px solid #000;
			}

			.box1 {
				border: 1px solid #000;
				width: 150px;
				height: 150px;
			}

			.box2,
			.box3,
			.box4,
			.box5,
			.box6,
			.box7,
			.box8,
			.box9 {
				transition: 1s;
				width: 50px;
				height: 50px;
				background-color: red;
			}

			.box2 {
				margin: 0 auto;
				display: inline-block;
			}

			.box2:hover {
				width: 100px;
				transform: translate(100px, 100px));
			}

			.box3:hover {
				position: relative;
				transform: translate(100px, 100px) rotate(360deg);
				background-color: aliceblue;
			}

			.box4:hover {
				transform: translateY(100px) rotate(360deg);
				background-color: darkolivegreen;
			}

			.box5 {
				bottom: 100px;
			}

			.box5:hover {
				background-color: darkred;
				transform: translate(100px) rotate(360deg);
			}

			.box6 {
				animation: color 5s;
			}

			@keyframes color {
				0% {
					background-color: orangered;
				}

				25% {
					background-color: hotpink;
				}

				50% {
					background-color: limegreen;
				}

				100% {
					background-color: deepskyblue;
				}
			}

			.box7 {
				margin-top: 50px;
				margin-left: 50px;
				width: 60px;
				height: 60px;
				border: 1px solid #000;
				transition: 5s;
			}

			.box7:hover {
				transform: scale(2, 2);
			}
			
			.box8:hover{
				transform:skew(8deg,8deg);		
			}
			.box9{
				transform:matrix(0.866,0.5,-0.5,0.866,0,0);	
			}
		</style>
	</head>
	<body>
		<table class="box">
			<tr>
				<td class="box1">
					<div class="box2">两边延伸</div>
				</td>
				<td class="box1">
					<div class="box3">翻转变色</div>
				</td>
			</tr>
			<tr>
				<td class="box1">
					<div class="box4">Y轴旋转移动</div>
				</td>
				<td class="box1">
					<div class="box5">X轴旋转移动</div>
				</td>
			</tr>
			<tr>
				<td class="box1">
					<div class="box6">颜色变化(刷新)</div>
				</td>
				<td class="box1">
					<div class="box7">等比例改变放大</div>
				</td>
			</tr>
			<tr>
				<td class="box1">
					<div class="box8">
						变形
					</div>
				</td>
				<td class="box1">
					<div class="box9">
						matrix()
					</div>
				</td>
			</tr>
		</table>
	</body>
</html>
